﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace freshflowersHTK.Models
{
    public class CategoryDb
    {
        [Key]
        public int CategoryId { get; set; }
        public string CategoryName { get; set; }
    }

    public class CategoryDbContext : DbContext
    {
        public CategoryDbContext()
            : base("FreshFlowerDBContext")
        {
        }

        public DbSet<CategoryDb> Categories { get; set; }
    }
}